<?php
// 统计信息
$vars['stat'] = $__oUser->get_my_stat();

// 精品推荐
$oGoods = new Goods();
$goodslist_good = $oGoods->get_list('*', array('recommend' => 'good'), null, 1, 9);
foreach($goodslist_good['list'] as $key => $goods){
	$goods_query = empty($goods_query) ? '' : '?'.implode('&', $goods_query);
	if(empty($goods['filename'])){
		$goods['url'] = PUB_DIR.'goods/'.time_to_path($goods['addtime']).'/'.$goods['id'].'.html'.$goods_query;
	}else{
		$goods['url'] = PUB_DIR.'goods/v/'.$goods['filename'].'.html'.$goods_query;
	}
	$goodslist_good['list'][$key] = $goods;
}
$vars['goodslist_good'] = $goodslist_good['list'];
?>